Description
Used to define an ImageBox control in a form.
Diagram
Overview
![](xsdimages/element.png) |
IMAGEBOX
Used to define an ImageBox control in a form.
![](xsdimages/attributeref.png) |
height required Restriction of xs:int
|
![](xsdimages/attributeref.png) |
width required Restriction of xs:int
|
![](xsdimages/attribute.png) |
x required xs:int
The x coordinate of the upper left corner of the image box.
|
![](xsdimages/attribute.png) |
y required xs:int
The y coordinate of the upper left corner of the image box
|
![](xsdimages/attributeref.png) |
border optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
clickaction optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
defaultvalue optional xs:string
|
![](xsdimages/attributeref.png) |
field optional xs:string
|
![](xsdimages/attributeref.png) |
group optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
name optional xs:string
When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts.
|
![](xsdimages/attributeref.png) |
onchange optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
onclick optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
readonly optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
required optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
tabstop optional Restriction of xs:string
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
height | Restriction of xs:int | required | | | |
width | Restriction of xs:int | required | | | |
x | xs:int | required | | | The x coordinate of the upper left corner of the image box. |
y | xs:int | required | | | The y coordinate of the upper left corner of the image box |
border | Restriction of xs:string | optional | false | | |
clickaction | Restriction of xs:string | optional | | | |
defaultvalue | xs:string | optional | | | |
field | xs:string | optional | | | |
group | Restriction of xs:string | optional | false | | |
name | xs:string | optional | | | When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts. |
onchange | xs:string | optional | | | Specify the script to run when this event occurs. |
onclick | xs:string | optional | | | Specify the script to run when this event occurs. |
readonly | Restriction of xs:string | optional | false | | |
required | Restriction of xs:string | optional | false | | |
tabstop | Restriction of xs:string | optional | true | | |
Examples
Restrictions
The following attributes can only be used in edit and identify forms. They cannot be used in general forms:
Source
<xs:element name="IMAGEBOX" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define an ImageBox control in a form.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" ref="height">
<xs:annotation>
<xs:documentation>The height of the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" ref="width">
<xs:annotation>
<xs:documentation>The width of the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="x" type="xs:int">
<xs:annotation>
<xs:documentation>The x coordinate of the upper left corner of the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="y" type="xs:int">
<xs:annotation>
<xs:documentation>The y coordinate of the upper left corner of the image box</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="border">
<xs:annotation>
<xs:documentation>Specifies whether the image box has a border.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="clickaction" />
<xs:attribute ref="defaultvalue">
<xs:annotation>
<xs:documentation>A simple expression that specifies the default value of the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="field">
<xs:annotation>
<xs:documentation>The field of the shapefile's DBF table that is linked to the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="group">
<xs:annotation>
<xs:documentation>Specifies whether the image box starts a new group of controls.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="name">
<xs:annotation>
<xs:documentation>Name of the ImageBox control. Used to reference the control in scripts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="onchange">
<xs:annotation>
<xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="onclick">
<xs:annotation>
<xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="readonly">
<xs:annotation>
<xs:documentation>Specifies whether the image box's value can be modified by the user.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="required">
<xs:annotation>
<xs:documentation>Specifies if the user must select an image in the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="tabstop">
<xs:annotation>
<xs:documentation>Specifies whether the TAB key can be used to move the focus to the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also